package com.jhgk.jhcee.auth.model;

import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class JhProductAuthority implements Serializable {
    @ApiModelProperty(value = "主键ID")
    private Integer id;

    @ApiModelProperty(value = "授权者ID")
    private Integer authorityId;

    @ApiModelProperty(value = "授权人所在机构id")
    private Integer authorityOrgId;

    @ApiModelProperty(value = "授权产品ID")
    private Integer productId;

    @ApiModelProperty(value = "授权产品名称")
    private String productName;

    @ApiModelProperty(value = "授权产品成本")
    private BigDecimal productPrice;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "被授权组织ID")
    private Integer ognId;

    @ApiModelProperty(value = "被授权组织机构名称")
    private String ognName;

    @ApiModelProperty(value = "授权状态 0-未授权 1-授权")
    private Integer status;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getAuthorityId() {
        return authorityId;
    }

    public void setAuthorityId(Integer authorityId) {
        this.authorityId = authorityId;
    }

    public Integer getAuthorityOrgId() {
        return authorityOrgId;
    }

    public void setAuthorityOrgId(Integer authorityOrgId) {
        this.authorityOrgId = authorityOrgId;
    }

    public Integer getProductId() {
        return productId;
    }

    public void setProductId(Integer productId) {
        this.productId = productId;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public BigDecimal getProductPrice() {
        return productPrice;
    }

    public void setProductPrice(BigDecimal productPrice) {
        this.productPrice = productPrice;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getOgnId() {
        return ognId;
    }

    public void setOgnId(Integer ognId) {
        this.ognId = ognId;
    }

    public String getOgnName() {
        return ognName;
    }

    public void setOgnName(String ognName) {
        this.ognName = ognName;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", authorityId=").append(authorityId);
        sb.append(", authorityOrgId=").append(authorityOrgId);
        sb.append(", productId=").append(productId);
        sb.append(", productName=").append(productName);
        sb.append(", productPrice=").append(productPrice);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", ognId=").append(ognId);
        sb.append(", ognName=").append(ognName);
        sb.append(", status=").append(status);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}